package ott.neumont;

import javax.xml.bind.annotation.*;

@XmlRootElement(name = "key")
/**
 * Key to represent an encryption key
 * Has a common 'n' value - and either 'd' or 'e' as 'm' (depending on if its public or private)
 * @author Caleb
 *
 */
public class Key {
	private long n;
	private long m;

	public Key(long n, long m) {
		this.n = n;
		this.m = m;
	}

	public Key() {
	}

	public long getN() {
		return n;
	}

	public void setN(long n) {
		this.n = n;
	}

	public long getM() {
		return m;
	}

	public void setM(long m) {
		this.m = m;
	}

}
